Integrand size = 18, antiderivative size = 804 \[ \int \frac {a+b \text {arccosh}(c x)}{\left (d+e x^2\right )^2} \, dx=-\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}+\sqrt {e} x\right )}+\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}-\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x)) \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x)) \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x)) \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x)) \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}} \]
[Out]
Time = 0.77 (sec) , antiderivative size = 804, normalized size of antiderivative = 1.00, number of steps used = 26, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5909, 5963, 95, 214, 5962, 5681, 2221, 2317, 2438} \[ \int \frac {a+b \text {arccosh}(c x)}{\left (d+e x^2\right )^2} \, dx=-\frac {\log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-d c^2-e}}\right ) (a+b \text {arccosh}(c x))}{4 (-d)^{3/2} \sqrt {e}}+\frac {\log \left (\frac {e^{\text {arccosh}(c x)} \sqrt {e}}{c \sqrt {-d}-\sqrt {-d c^2-e}}+1\right ) (a+b \text {arccosh}(c x))}{4 (-d)^{3/2} \sqrt {e}}-\frac {\log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{\sqrt {-d} c+\sqrt {-d c^2-e}}\right ) (a+b \text {arccosh}(c x))}{4 (-d)^{3/2} \sqrt {e}}+\frac {\log \left (\frac {e^{\text {arccosh}(c x)} \sqrt {e}}{\sqrt {-d} c+\sqrt {-d c^2-e}}+1\right ) (a+b \text {arccosh}(c x))}{4 (-d)^{3/2} \sqrt {e}}-\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {e} x+\sqrt {-d}\right )}+\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c x+1}}{\sqrt {\sqrt {-d} c+\sqrt {e}} \sqrt {c x-1}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {\sqrt {-d} c+\sqrt {e}} \sqrt {e}}-\frac {b c \text {arctanh}\left (\frac {\sqrt {\sqrt {-d} c+\sqrt {e}} \sqrt {c x+1}}{\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c x-1}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {\sqrt {-d} c+\sqrt {e}} \sqrt {e}}+\frac {b \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-d c^2-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-d c^2-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{\sqrt {-d} c+\sqrt {-d c^2-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{\sqrt {-d} c+\sqrt {-d c^2-e}}\right )}{4 (-d)^{3/2} \sqrt {e}} \]
[In]
[Out]
Rule 95
Rule 214
Rule 2221
Rule 2317
Rule 2438
Rule 5681
Rule 5909
Rule 5962
Rule 5963
Rubi steps \begin{align*} \text {integral}& = \int \left (-\frac {e (a+b \text {arccosh}(c x))}{4 d \left (\sqrt {-d} \sqrt {e}-e x\right )^2}-\frac {e (a+b \text {arccosh}(c x))}{4 d \left (\sqrt {-d} \sqrt {e}+e x\right )^2}-\frac {e (a+b \text {arccosh}(c x))}{2 d \left (-d e-e^2 x^2\right )}\right ) \, dx \\ & = -\frac {e \int \frac {a+b \text {arccosh}(c x)}{\left (\sqrt {-d} \sqrt {e}-e x\right )^2} \, dx}{4 d}-\frac {e \int \frac {a+b \text {arccosh}(c x)}{\left (\sqrt {-d} \sqrt {e}+e x\right )^2} \, dx}{4 d}-\frac {e \int \frac {a+b \text {arccosh}(c x)}{-d e-e^2 x^2} \, dx}{2 d} \\ & = -\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}+\sqrt {e} x\right )}+\frac {(b c) \int \frac {1}{\sqrt {-1+c x} \sqrt {1+c x} \left (\sqrt {-d} \sqrt {e}-e x\right )} \, dx}{4 d}-\frac {(b c) \int \frac {1}{\sqrt {-1+c x} \sqrt {1+c x} \left (\sqrt {-d} \sqrt {e}+e x\right )} \, dx}{4 d}-\frac {e \int \left (-\frac {\sqrt {-d} (a+b \text {arccosh}(c x))}{2 d e \left (\sqrt {-d}-\sqrt {e} x\right )}-\frac {\sqrt {-d} (a+b \text {arccosh}(c x))}{2 d e \left (\sqrt {-d}+\sqrt {e} x\right )}\right ) \, dx}{2 d} \\ & = -\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}+\sqrt {e} x\right )}+\frac {\int \frac {a+b \text {arccosh}(c x)}{\sqrt {-d}-\sqrt {e} x} \, dx}{4 (-d)^{3/2}}+\frac {\int \frac {a+b \text {arccosh}(c x)}{\sqrt {-d}+\sqrt {e} x} \, dx}{4 (-d)^{3/2}}+\frac {(b c) \text {Subst}\left (\int \frac {1}{c \sqrt {-d} \sqrt {e}+e-\left (c \sqrt {-d} \sqrt {e}-e\right ) x^2} \, dx,x,\frac {\sqrt {1+c x}}{\sqrt {-1+c x}}\right )}{2 d}-\frac {(b c) \text {Subst}\left (\int \frac {1}{c \sqrt {-d} \sqrt {e}-e-\left (c \sqrt {-d} \sqrt {e}+e\right ) x^2} \, dx,x,\frac {\sqrt {1+c x}}{\sqrt {-1+c x}}\right )}{2 d} \\ & = -\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}+\sqrt {e} x\right )}+\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}-\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}+\frac {\text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{c \sqrt {-d}-\sqrt {e} \cosh (x)} \, dx,x,\text {arccosh}(c x)\right )}{4 (-d)^{3/2}}+\frac {\text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{c \sqrt {-d}+\sqrt {e} \cosh (x)} \, dx,x,\text {arccosh}(c x)\right )}{4 (-d)^{3/2}} \\ & = -\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}+\sqrt {e} x\right )}+\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}-\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}+\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{c \sqrt {-d}-\sqrt {-c^2 d-e}-\sqrt {e} e^x} \, dx,x,\text {arccosh}(c x)\right )}{4 (-d)^{3/2}}+\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{c \sqrt {-d}+\sqrt {-c^2 d-e}-\sqrt {e} e^x} \, dx,x,\text {arccosh}(c x)\right )}{4 (-d)^{3/2}}+\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{c \sqrt {-d}-\sqrt {-c^2 d-e}+\sqrt {e} e^x} \, dx,x,\text {arccosh}(c x)\right )}{4 (-d)^{3/2}}+\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{c \sqrt {-d}+\sqrt {-c^2 d-e}+\sqrt {e} e^x} \, dx,x,\text {arccosh}(c x)\right )}{4 (-d)^{3/2}} \\ & = -\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}+\sqrt {e} x\right )}+\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}-\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x)) \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x)) \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x)) \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x)) \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \log \left (1-\frac {\sqrt {e} e^x}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \log \left (1+\frac {\sqrt {e} e^x}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \log \left (1-\frac {\sqrt {e} e^x}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \log \left (1+\frac {\sqrt {e} e^x}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{4 (-d)^{3/2} \sqrt {e}} \\ & = -\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}+\sqrt {e} x\right )}+\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}-\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x)) \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x)) \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x)) \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x)) \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {e} x}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {e} x}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {e} x}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {e} x}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{4 (-d)^{3/2} \sqrt {e}} \\ & = -\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {a+b \text {arccosh}(c x)}{4 d \sqrt {e} \left (\sqrt {-d}+\sqrt {e} x\right )}+\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}-\frac {b c \text {arctanh}\left (\frac {\sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {1+c x}}{\sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {-1+c x}}\right )}{2 d \sqrt {c \sqrt {-d}-\sqrt {e}} \sqrt {c \sqrt {-d}+\sqrt {e}} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x)) \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x)) \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x)) \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x)) \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{4 (-d)^{3/2} \sqrt {e}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 6.39 (sec) , antiderivative size = 734, normalized size of antiderivative = 0.91 \[ \int \frac {a+b \text {arccosh}(c x)}{\left (d+e x^2\right )^2} \, dx=\frac {1}{2} \left (\frac {a x}{d^2+d e x^2}+\frac {a \arctan \left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{d^{3/2} \sqrt {e}}+\frac {b \left (2 \sqrt {d} \left (\frac {\text {arccosh}(c x)}{-i \sqrt {d}+\sqrt {e} x}+\frac {c \log \left (\frac {2 e \left (i \sqrt {e}+c^2 \sqrt {d} x-i \sqrt {-c^2 d-e} \sqrt {-1+c x} \sqrt {1+c x}\right )}{c \sqrt {-c^2 d-e} \left (\sqrt {d}+i \sqrt {e} x\right )}\right )}{\sqrt {-c^2 d-e}}\right )-2 \sqrt {d} \left (-\frac {\text {arccosh}(c x)}{i \sqrt {d}+\sqrt {e} x}-\frac {c \log \left (\frac {2 e \left (-\sqrt {e}-i c^2 \sqrt {d} x+\sqrt {-c^2 d-e} \sqrt {-1+c x} \sqrt {1+c x}\right )}{c \sqrt {-c^2 d-e} \left (i \sqrt {d}+\sqrt {e} x\right )}\right )}{\sqrt {-c^2 d-e}}\right )+i \left (\text {arccosh}(c x) \left (-\text {arccosh}(c x)+2 \left (\log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{i c \sqrt {d}-\sqrt {-c^2 d-e}}\right )+\log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{i c \sqrt {d}+\sqrt {-c^2 d-e}}\right )\right )\right )+2 \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{-i c \sqrt {d}+\sqrt {-c^2 d-e}}\right )+2 \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{i c \sqrt {d}+\sqrt {-c^2 d-e}}\right )\right )-i \left (\text {arccosh}(c x) \left (-\text {arccosh}(c x)+2 \left (\log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{-i c \sqrt {d}+\sqrt {-c^2 d-e}}\right )+\log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{i c \sqrt {d}+\sqrt {-c^2 d-e}}\right )\right )\right )+2 \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{i c \sqrt {d}-\sqrt {-c^2 d-e}}\right )+2 \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{i c \sqrt {d}+\sqrt {-c^2 d-e}}\right )\right )\right )}{4 d^{3/2} \sqrt {e}}\right ) \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 20.61 (sec) , antiderivative size = 828, normalized size of antiderivative = 1.03
method | result | size |
parts | \(\frac {a x}{2 d \left (e \,x^{2}+d \right )}+\frac {a \arctan \left (\frac {e x}{\sqrt {d e}}\right )}{2 d \sqrt {d e}}+\frac {b \left (\frac {c^{3} \operatorname {arccosh}\left (c x \right ) x}{2 d \left (c^{2} e \,x^{2}+c^{2} d \right )}+\frac {c^{2} \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (e \,\textit {\_Z}^{4}+\left (4 c^{2} d +2 e \right ) \textit {\_Z}^{2}+e \right )}{\sum }\frac {\textit {\_R1} \left (\operatorname {arccosh}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} e +2 c^{2} d +e}\right )}{4 d}+\frac {\sqrt {-\left (2 c^{2} d -2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, c^{2} d +2 c^{4} d^{2}+2 c^{2} d e +\sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, e \right ) c^{2} \operatorname {arctanh}\left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (-2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}-e \right ) e}}\right )}{2 d \left (c^{2} d +e \right ) e^{3}}-\frac {\sqrt {-\left (2 c^{2} d -2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) \operatorname {arctanh}\left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (-2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}-e \right ) e}}\right ) c^{2}}{2 d \,e^{3}}+\frac {\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (-2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, c^{2} d +2 c^{4} d^{2}+2 c^{2} d e -\sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, e \right ) c^{2} \arctan \left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}}\right )}{2 d \left (c^{2} d +e \right ) e^{3}}-\frac {\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (2 c^{2} d -2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) \arctan \left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}}\right ) c^{2}}{2 d \,e^{3}}-\frac {c^{2} \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (e \,\textit {\_Z}^{4}+\left (4 c^{2} d +2 e \right ) \textit {\_Z}^{2}+e \right )}{\sum }\frac {\operatorname {arccosh}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )}{\textit {\_R1} \left (\textit {\_R1}^{2} e +2 c^{2} d +e \right )}\right )}{4 d}\right )}{c}\) | \(828\) |
derivativedivides | \(\frac {\frac {a \,c^{3} x}{2 d \left (c^{2} e \,x^{2}+c^{2} d \right )}+\frac {a c \arctan \left (\frac {e x}{\sqrt {d e}}\right )}{2 d \sqrt {d e}}+b \,c^{4} \left (\frac {\operatorname {arccosh}\left (c x \right ) x}{2 c d \left (c^{2} e \,x^{2}+c^{2} d \right )}+\frac {\munderset {\textit {\_R1} =\operatorname {RootOf}\left (e \,\textit {\_Z}^{4}+\left (4 c^{2} d +2 e \right ) \textit {\_Z}^{2}+e \right )}{\sum }\frac {\textit {\_R1} \left (\operatorname {arccosh}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} e +2 c^{2} d +e}}{4 d \,c^{2}}+\frac {\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (-2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, c^{2} d +2 c^{4} d^{2}+2 c^{2} d e -\sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, e \right ) \arctan \left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}}\right )}{2 d \,c^{2} \left (c^{2} d +e \right ) e^{3}}-\frac {\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (2 c^{2} d -2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) \arctan \left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}}\right )}{2 c^{2} d \,e^{3}}+\frac {\sqrt {-\left (2 c^{2} d -2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, c^{2} d +2 c^{4} d^{2}+2 c^{2} d e +\sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, e \right ) \operatorname {arctanh}\left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (-2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}-e \right ) e}}\right )}{2 d \,c^{2} \left (c^{2} d +e \right ) e^{3}}-\frac {\sqrt {-\left (2 c^{2} d -2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) \operatorname {arctanh}\left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (-2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}-e \right ) e}}\right )}{2 c^{2} d \,e^{3}}-\frac {\munderset {\textit {\_R1} =\operatorname {RootOf}\left (e \,\textit {\_Z}^{4}+\left (4 c^{2} d +2 e \right ) \textit {\_Z}^{2}+e \right )}{\sum }\frac {\operatorname {arccosh}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )}{\textit {\_R1} \left (\textit {\_R1}^{2} e +2 c^{2} d +e \right )}}{4 d \,c^{2}}\right )}{c}\) | \(843\) |
default | \(\frac {\frac {a \,c^{3} x}{2 d \left (c^{2} e \,x^{2}+c^{2} d \right )}+\frac {a c \arctan \left (\frac {e x}{\sqrt {d e}}\right )}{2 d \sqrt {d e}}+b \,c^{4} \left (\frac {\operatorname {arccosh}\left (c x \right ) x}{2 c d \left (c^{2} e \,x^{2}+c^{2} d \right )}+\frac {\munderset {\textit {\_R1} =\operatorname {RootOf}\left (e \,\textit {\_Z}^{4}+\left (4 c^{2} d +2 e \right ) \textit {\_Z}^{2}+e \right )}{\sum }\frac {\textit {\_R1} \left (\operatorname {arccosh}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} e +2 c^{2} d +e}}{4 d \,c^{2}}+\frac {\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (-2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, c^{2} d +2 c^{4} d^{2}+2 c^{2} d e -\sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, e \right ) \arctan \left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}}\right )}{2 d \,c^{2} \left (c^{2} d +e \right ) e^{3}}-\frac {\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (2 c^{2} d -2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) \arctan \left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}}\right )}{2 c^{2} d \,e^{3}}+\frac {\sqrt {-\left (2 c^{2} d -2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, c^{2} d +2 c^{4} d^{2}+2 c^{2} d e +\sqrt {d \,c^{2} \left (c^{2} d +e \right )}\, e \right ) \operatorname {arctanh}\left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (-2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}-e \right ) e}}\right )}{2 d \,c^{2} \left (c^{2} d +e \right ) e^{3}}-\frac {\sqrt {-\left (2 c^{2} d -2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) e}\, \left (2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}+e \right ) \operatorname {arctanh}\left (\frac {e \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{\sqrt {\left (-2 c^{2} d +2 \sqrt {d \,c^{2} \left (c^{2} d +e \right )}-e \right ) e}}\right )}{2 c^{2} d \,e^{3}}-\frac {\munderset {\textit {\_R1} =\operatorname {RootOf}\left (e \,\textit {\_Z}^{4}+\left (4 c^{2} d +2 e \right ) \textit {\_Z}^{2}+e \right )}{\sum }\frac {\operatorname {arccosh}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -c x -\sqrt {c x -1}\, \sqrt {c x +1}}{\textit {\_R1}}\right )}{\textit {\_R1} \left (\textit {\_R1}^{2} e +2 c^{2} d +e \right )}}{4 d \,c^{2}}\right )}{c}\) | \(843\) |
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{\left (d+e x^2\right )^2} \, dx=\int { \frac {b \operatorname {arcosh}\left (c x\right ) + a}{{\left (e x^{2} + d\right )}^{2}} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{\left (d+e x^2\right )^2} \, dx=\int \frac {a + b \operatorname {acosh}{\left (c x \right )}}{\left (d + e x^{2}\right )^{2}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {a+b \text {arccosh}(c x)}{\left (d+e x^2\right )^2} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{\left (d+e x^2\right )^2} \, dx=\int { \frac {b \operatorname {arcosh}\left (c x\right ) + a}{{\left (e x^{2} + d\right )}^{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \text {arccosh}(c x)}{\left (d+e x^2\right )^2} \, dx=\int \frac {a+b\,\mathrm {acosh}\left (c\,x\right )}{{\left (e\,x^2+d\right )}^2} \,d x \]
[In]
[Out]